package com.zhouzj.blog.entity;

import lombok.Data;

import javax.persistence.*;
import java.time.LocalDate;

/**
 * Article
 *
 * @author zhouzhijun
 * @since 2021/3/12
 **/
@Entity
@Table(name = "t_article")
@Data
public class Article {

    @Id
    private Integer id;
    private String title;
    @Lob
    private String content;
    private LocalDate created;
    private LocalDate modified;
    private String categories;
    private String tags;
    @Column(name = "allow_comment")
    private Boolean allowComment;
    private String thumbnail;


}
